/*
 * @Description:
 * @Author: gaoyunpeng
 * @Date: 2021-10-18 09:19:05
 * @LastEditors: zhouxiaomin
 */
import Vue from 'vue';
import VueRouter, { RouteConfig } from 'vue-router';
Vue.use(VueRouter);

const routes: RouteConfig[] = [
  {
    name: 'Home',
    path: '/',
    component: () => import('@/views/home/Home.vue')
  },

  {
    name: 'login',
    path: '/login',
    component: () => import('@/views/login/Login.vue')
  },
  {
    name: 'login',
    path: '/sdss'

    // component: () => import('@/')
  }
];
const router = new VueRouter({
  base: process.env.BASE_URL,
  routes
});

export default router;
